import React, { useState } from 'react';

export default function Button() {
  const [buttonText, setButtonText] = useState('click me');

  function handleClick() {
    return setButtonText('been clicked!');
  }

  return <button onClick={handleClick}>{buttonText}</button>;
}
